package com.znsd.stu.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.znsd.entitys.Cwj_SpecialtyInfo;
import com.znsd.entitys.ShiftDuty;

public interface Cwj_SpecialtyDao {
	public Cwj_SpecialtyInfo checkId(int specialty_id);
	public List<Cwj_SpecialtyInfo> getAll();
	public List<Cwj_SpecialtyInfo> getAllByState();
	public int getCount();
	public void delete(@Param("sId")Integer sId);
	public void update(@Param("speId")Integer speId,@Param("specialty_name")String specialty_name,@Param("state")Integer state);
	public void insert(@Param("specialty_name")String specialty_name,@Param("createDate")Date createDate,@Param("userId")Integer userId,@Param("state")Integer state);
}
